/**
 * Created by zhangligang
 * Email: tzhang2450@163.com
 * Date: 2019/1/19
 * Time: 23:41
 */
$(function () {

    sendAjax('/v1/user/contest/detail.json', 'get', {id: id}, function (json) {
        var data = json.body;
        $('.contest-title').text(data.title);
        $('.contest-real-name').text(data.realname);
        $('.contest-create-time').text(data.created_at);
        $('.contest-content').html(data.content);
    });

});